package com.cloud.cloudvideo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cloud.cloudvideo.entity.TreePojo;
import com.cloud.cloudvideo.entity.VideoCate;
import com.cloud.cloudvideo.entity.VideoCateExample;

public interface VideoCateMapper {
    long countByExample(VideoCateExample example);

    int deleteByExample(VideoCateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(VideoCate record);

    int insertSelective(VideoCate record);

    List<VideoCate> selectByExample(VideoCateExample example);

    VideoCate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") VideoCate record, @Param("example") VideoCateExample example);

    int updateByExample(@Param("record") VideoCate record, @Param("example") VideoCateExample example);

    int updateByPrimaryKeySelective(VideoCate record);

    int updateByPrimaryKey(VideoCate record);
    
    
    List<TreePojo> findCateWithChild();
    
}